const { getLogs, searchLogs, logsDelete } = require('../dao/logsDao');

module.exports.getLogs = async function() {
    const result = await getLogs();
    return result;
}

module.exports.searchLogs = async function(data) {
    const result = await searchLogs(data);
    return result;
}

module.exports.logsDelete = async function(data) {
    await logsDelete(data);
}